<table class="box-vang5" cellpadding="0" cellspacing="0" width="100%">
        <tbody><tr class="light">
          <td class="text-top">.:. Quản lý chủng loại sản phẩm</td>
        </tr>
      </tbody></table>
      <table class="box-vang5" cellpadding="0" cellspacing="0" width="100%">
        <tbody><tr class="light">
          <td class="t-l"></td>
          <td class="t-c"></td>
          <td class="t-r"></td>
        </tr>
        <tr class="light">
          <td class="c-l"></td>
          <td class="c-c" valign="top">
         
<div id="noidung-tab1">

	
    
    <div class="clear" style="height:10px"></div>                   
                    
<? 	$trangthai = $_GET['tt'];	
	$IDman = $_SESSION['userid'];
	$search=$_POST['txtsearch'];
	$start=$_POST['start'];
	$end=$_POST['end'];
	$sqlstring="select * from tb_services_type where phanloai_id = 18";
	$qr12=mysql_query($sqlstring);
	$n_record=mysql_num_rows($qr12); 
	$p=$_SESSION['page'];
	$n=$_GET['n'];	
	$qr1=mysql_query($sqlstring); 
	$i=0;
?>
<table id="box-quick" class="box-quick" border="0" cellpadding="5" cellspacing="0" width="100%">
          <tbody><tr id="title">
            <td width="5%">STT</td>
            <td width="60%">Tên chủng loại</td>           
            <td width="10%">Trạng thái</td> 
            <td width="10%">Người tạo</td> 
            <td width="10%">Ngày cập nhật</td>
            <td width="10%">Thao tác</td>
          </tr>
         <?php 
		 	while($row=mysql_fetch_array($qr1)) 
			{
				$i=$i+1;
				$ids=$row['services_type_id'];				
		 ?>
           <tr class="light" id="value" style="cursor:pointer;" onmouseover="mouse_den(this)" onmouseout="mouse_di(this)" bgcolor="">
            <td style="border-left:1px solid #ccc"><div align="center"><?=$i?></div></td>
          
            <td  class="tdbg_2"><div align="left">&nbsp;<span title="">
			
				<b><?=$row['services_type_name']?></b>
				
                 </span>
                </div>
            </td>
           
            <td align="center">     
          
		    <?php   if($row[services_type_status]==1){?>
			<img src="../skins/images/check2.png"/>
			<?php  } else {?>
			<img src="../skins/images/not_check2.png" />
			<?php  }?> 
				        	
            </td>
            <?php $sql_nt=mysql_query("select account_id,account_name from tb_account_admin where account_id='".$row['account_id']."'");
								$row_nt=mysql_fetch_array($sql_nt);
						?>                        
           <td align="center"> 
             <?php echo $row_nt['account_name'];?>           
             </td>
              <td align="center"> 
             <?php echo date('d/m/Y',$row["ngayupdate"]);?>            
             </td>
             <td align="center">    
             <table border="0">
             <tr><td style="border:0px;" width="100px">         
             	<a href="<? echo $url;?>index.php?tn=typeproduct&type=edit&id=<? echo $ids;?>"><img src="../skins/images/edit.png" style="float: left">
                </a>          
                </td><td style="border:0px;" width="100px">       
                <a href="<? echo $url;?>index.php?tn=typeproduct&type=del&id=<? echo $ids;?>">
                <img src="../skins/images/del.png" style="float: left">
                </a> 
                </td></tr></table>                           
             </td>
             
          </tr>
          
          
        </tbody>
       
<?php }?>

        </table>
        
 <td class="c-r"></td>
        </tr>
        <tr class="light">
          <td class="b-l"></td>
          <td class="b-c"></td>
          <td class="b-r"></td>
        </tr>
      </tbody></table>
 